<%--
  主控面板
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>控制面板</title>
    <style>
        body {
            display: flex;
            justify-content: right;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
        }
        .login-container {
            width: 300px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .login-container h2 {
            margin-bottom: 20px;
            text-align: center;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
        }
        .form-group input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .login-button {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
        }
        .login-button:hover{
            background-color: #45a049;
        }
    </style>
</head>
<body>
<div class="login-container">
    <h2>控制面板</h2>
    <form>
        <button type="button" class="login-button" onclick="window.location.href='showUser.jsp'">用户管理</button>
    </form>
    <form>
        <button type="button" class="login-button" onclick="window.location.href='productReg.jsp'">商品注册</button>
    </form>
    <form>
        <button type="button" class="login-button" onclick="window.location.href='productPage.jsp'">商品管理</button>
    </form>
</div>
</body>
</html>
